package com.ten.shou.service;




import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ten.common.core.entity.HeadNav;
import com.ten.common.core.vo.Result;
import com.ten.shou.vo.HeadVo;

/**
 * @author ：yangjia
 * @date ：Created in 2022/12/5 20:33
 * @description：
 * @modified By：
 * @version:
 */
public interface HeadService {
    Result<IPage<HeadNav>> getAllHeadNav(Integer current, Integer pageSize, HeadVo headVo);

    /**
     * 添加头部导航
     * @param headNav
     * @return
     */
    Result<HeadNav> insertAll(HeadNav headNav);

    /**
     *    删除头部导航
     * @param headVo
     * @return
     */
    Result<HeadNav> deleteById(HeadVo headVo);

    /**
     * 修改状态
     * @param headId
     * @param isDiable
     * @return
     */
    Result<HeadNav> updateStatusHead(String headId ,String isDiable);

    /**
     *  操作 修改导航标题和接口路径
     * @param headNav
     * @return
     */
    Result<HeadNav> updateOperate(HeadNav headNav);
    Result getAllHead();
}
